package github.ziwukun.jsonql.analysis;

import java.util.LinkedList;
import java.util.List;

import github.ziwukun.jsonql.lang.JSONQL;
import github.ziwukun.jsonql.orm.Model;

class ModelAndQLAnalysistorManagerImpl implements ModelAndQLAnalysistorManager{
	List<ModelAndQLAnalysistor> analysistors = new LinkedList<>();
	
	@Override
	public void analysis(Model model, JSONQL ql) throws AnalysisException {
		for (ModelAndQLAnalysistor analysistor : analysistors) {
			analysistor.analysis(model, ql);
		}
	}

}
